/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package piglatinator;
import java.util.*;

/**
 *
 * @author Ronald
 */
public class Translation
{
    String userInput;

    public Translation()
    {

    }
    public Translation(String newUserInput)
    {
        this.userInput = newUserInput;
    }
    public void beginTranslation()
    {
            System.out.println("");
            Scanner in = new Scanner(System.in);
            System.out.println("What do you need to translate? ");
            userInput = in.next();
            System.out.println(userInput);
    }
    public void breakString()
    {
        StringTokenizer st = new StringTokenizer(userInput);
        while (st.hasMoreTokens()) {
            System.out.println(st.nextToken());
        }
    }
}
